/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package entities;

import helpers.RandomGenerator;

/**
 *
 * @author arnaldo
 */
public class Company {
    private String name;
    private String username;
    private String password;
    private int id;

    public Company(){
        this.username = RandomGenerator.CompanyName();
        this.password = RandomGenerator.Password();
    }

    public Survey createSurvey(){
        Survey s = new Survey();

        return s;
    }

    @Override
    public String toString(){
        String str = "";

        str += "Username: "+this.getUsername()+"\n";
        str += "Password: "+this.getPassword()+"\n";

        return str;
    }

    public Survey generateSurvey(){
        Survey s = new Survey();

        return s;
    }


    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }
    
}
